package com.europe.business.europebusiness.ui.net;

import com.europe.business.europebusiness.ui.bean.UserLogin;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Header;
import retrofit2.http.Query;

public interface IMy {
    @GET("app/myself/findOnePersonOrCompany")
    public Call<UserLogin> findOnePersonOrCompany(@Query("language") String language);

    @GET("app/myself/findOnePersonOrCompany")
    public Call<UserLogin> findOnePersonOrCompany(@Header("jeesite.session.id") String token, @Query("language") String language);
}